/*
    SUSAN® - Sole of Unix Save ANything

   Copyright (C) 2020-2020 Hechzh Property

   
*/

#include "include/susan.h"
#include "dird/job_trigger.h"

std::string JobTriggerToString(JobTrigger trig)
{
  switch (trig) {
    case JobTrigger::kScheduler:
      return _("Scheduler");
    case JobTrigger::kClient:
      return _("Client");
    case JobTrigger::kUser:
      return _("User");
    default:
    case JobTrigger::kUndefined:
      return _("Unknown");
  }
}
